Add Google Cloud Storage example#1713
Closed
dstansby wants to merge 1 commit into
Closed
Conversation
Contributor
|
Your example uses |
dstansby
commented
Mar 19, 2024
| path_to_array = "a/b/c" | ||
|
|
||
| fs = gcsfs.GCSFileSystem(project=bucket, token='anon', access='read_only') | ||
| store = zarr.FSStore(url=bucket, fs=fs) |
Member
There was a problem hiding this comment.
This line throws an error:
AttributeError: module 'zarr' has no attribute 'FSStore'
Member
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1713 +/- ##
=======================================
Coverage 99.99% 99.99%
=======================================
Files 38 38
Lines 14580 14580
=======================================
Hits 14579 14579
Misses 1 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds an example of how to open an array that's in Google Cloud Storage. Fixes zarr-developers/n5py#14
I've added a new section to the docs, "Examples", for short, self-contained examples, that achieve a specific goal. This is distinct from existing sections of the docs, and should complement the existing tutorial and reference sections. For those familiar with Diataxis, this is essentially the "how-to guides" quadrant.
TODO: